﻿<UserControl x:Class="sdm.exam.ui.LocationAdministration.AdministrateExamLocations"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <ListBox BorderBrush="black" BorderThickness="1" Height="162" HorizontalAlignment="Left" ItemsSource="{Binding}" Margin="12,100,0,0" Name="lstAssignedRooms" VerticalAlignment="Top" Width="276" SelectionChanged="lstAssignedRooms_SelectionChanged" />
        <Label Content="Exam locations:" Height="28" HorizontalAlignment="Left" Margin="12,79,0,0" Name="label1" VerticalAlignment="Top" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1"  Height="23" HorizontalAlignment="Left" ItemsSource="{Binding}" Margin="12,22,0,0" Name="cbbClassRooms" VerticalAlignment="Top" Width="276" />
        <Label Content="Make room able for exam:" Height="28" HorizontalAlignment="Left" Margin="12,0,0,0" Name="label2" VerticalAlignment="Top" />
        <Button Background="white" BorderBrush="black" BorderThickness="1" Content="Remove" Height="23" HorizontalAlignment="Left" IsEnabled="False" Margin="213,0,0,12" Name="btnRemove" VerticalAlignment="Bottom" Width="75" Click="btnRemove_Click" />
        <Button Background="white" BorderBrush="black" BorderThickness="1" Content="Make exam room" Height="23" HorizontalAlignment="Left" IsEnabled="True" Margin="171,51,0,0" Name="btnAdd" VerticalAlignment="Top" Width="117" Click="btnAdd_Click" />
        <Separator Height="22" HorizontalAlignment="Left" Margin="12,72,0,0" Name="separator1" VerticalAlignment="Top" Width="276" />
    </Grid>
</UserControl>
